package com.dbsop.domain;

import com.dbsop.domain.AbsConditionQuery;
import com.dbsop.domain.transport.query.ConditionQuery;
import com.dbsop.common.enums.FlagConnect;

import java.util.List;

public class SubCondition {

    private List<AbsConditionQuery> subQueries;

    private FlagConnect subConnect = FlagConnect.AND;

    public SubCondition(List<AbsConditionQuery> subQueries, FlagConnect subConnect) {
        this.subQueries = subQueries;
        this.subConnect = subConnect;
    }

    public List<AbsConditionQuery> getSubQueries() {
        return subQueries;
    }

    public void setSubQueries(List<AbsConditionQuery> subQueries) {
        this.subQueries = subQueries;
    }

    public FlagConnect getSubConnect() {
        return subConnect;
    }

    public void setSubConnect(FlagConnect subConnect) {
        this.subConnect = subConnect;
    }
}
